package com.wzx.selfuse.service.impl;

import com.wzx.selfuse.entity.PlanCust;
import com.wzx.selfuse.entity.PlanPro;
import com.wzx.selfuse.mapper.Plan_ICustMapper;
import com.wzx.selfuse.mapper.Plan_IProMapper;
import com.wzx.selfuse.service.Plan_ICustService;
import com.wzx.selfuse.service.Plan_IProService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Liu Tenda
 * @date 2022年 12月06日 20:09:51
 * Introduction:
 */
@Service
public class Plan_ICustServiceImpl implements Plan_ICustService {

    @Autowired
    Plan_ICustMapper plan_iCustMapper;


    @Override
    public List<PlanCust> getCustList() {
        return plan_iCustMapper.getCustList();
    }

    @Override
    public int addCust(PlanCust planCust) {
        return plan_iCustMapper.addCust(planCust);
    }

    @Override
    public PlanCust getCustByCustNumber(String custNumber) {
        return plan_iCustMapper.getCustByCustNumber(custNumber);
    }

    @Override
    public List<PlanCust> getCustByCustName(String custName) {
        return plan_iCustMapper.getCustByCustName(custName);
    }

    @Override
    public int deleteCust(String custNumber) {
        return plan_iCustMapper.deleteCust(custNumber);
    }

    @Override
    public int editCust(PlanCust planCust) {
        return plan_iCustMapper.editCust(planCust);
    }
}